//
//  ShopNewGoodCollectionViewCell.m
//  GoodWayClient
//
//  Created by HuiDong on 15/12/9.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import "ShopNewGoodCollectionViewCell.h"

@interface ShopNewGoodCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *image;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *money;
@property (weak, nonatomic) IBOutlet UILabel *amount;

@end

@implementation ShopNewGoodCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setDic:(NSDictionary *)dic
{
    _dic = dic;
    self.image.image = [UIImage imageNamed:dic[@"image"]];
    self.name.text = dic[@"name"];
    self.money.text = dic[@"money"];
    self.amount.text = dic[@"amount"];
}


@end
